Part Number Hot Search : 
7LCMS LTC2054 2981651 7BZXC HAT2052T 2SJ136 OHN3000 TFS1080C
Product Description
Full Text Search
 

To Download AMBE2000 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  version 3.0
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 2 visit us at www.dvsinc.com confidential proprietary, subject to change ambe - 2000? vocoder chip user?s manual version 3.0 april, 2000 copyright , 2000 digital voice systems, inc 234 littleton road westford, ma 01886 this document may not, in whole or in part be copied, photocopied, repro duced, translated, or reduced to any electronic medium or machine readable form without prior consent in writing from digital voice systems, incorporated. every effort has been made to ensure the accuracy of this manual. however, digital voice systems, in c. makes no warranties with respect to the documentation and disclaims any implied warranties of merchantability and fitness for a particular purpose. digital voice systems, inc. shall not be liable for any errors or for incidental or consequential damage s in connection with the furnishing, performance, or use of this manual or the examples herein. this includes business interruption and/or other loss which may arise from the use of this product. the information in this document is subject to change witho ut notice. trademarks ambe - 2 000? vocoder chip is a registered trademark of digital voice systems, inc. other product names mentioned may be trademarks or registered trademarks of their respective companies and are the sole property of their respective manufacturers. all rights reser ved data subject to change
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 3 visit us at www.dvsinc.com confidential proprietary, subject to change ambe - 2000 ? vocoder chip end user license agreement 1.0 preliminary statements and definitions 1.1 ?end user? shall mean the person and/or organization to whom the ambe - 2000? vocoder chip was delivered or provided to as spec ified in the purchase order or other documentation. in the event that the end user transfers his rights under this license to a third party as specified in section 2.2, then this third party shall become an ?end user?. 1.2 digital voice systems, inc. (dvs i) has developed a voice coding method and algorithm (the ?technology?) based on the advanced multi - band excitation (?ambe a ?) voice coder. the technology codes speech at bit rates of 2.4 to 9.6 kilobits per second (kbps) including error correction bits. 1 .3 "ambe a voice compression software" shall mean the speech coding software and/or firmware integrated into the ambe - 2000? vocoder chip integrated circuit. 1.4 "voice codec" shall mean the ambe - 2000? vocoder chip integrated circuit, the ambe a voice compres sion software, firmware and associated documentation, including modifications, enhancements and extensions made by or for digital voice systems, inc. (dvsi) and including circuit diagrams, timing diagrams, logic diagrams, layouts, operating instructions an d user manuals. 1.5 dvsi represents that it owns certain ?proprietary rights? in the technology and the ambe a voice compression software, including patent rights in the technology, and patent rights, copyrights, and trade secrets in the ambe a voice compres sion software. 2.0 license granted 2.1 subject to the conditions herein and upon initial use of the ambe - 2000? vocoder chip, dvsi hereby grants to end user a non - exclusive, limited license to use the ambe ? voice compression software in machine readable f orm solely on the ambe - 2000? vocoder chip. title to the ambe ? voice compression software remains with dvsi. no license is granted for use of the ambe ? voice compression software on other than the ambe - 2000? vocoder chip. no license, right or interest in any trademark, trade name or service mark of dvsi is granted under this agreement. 2.2 end user shall not copy, extract, de - compile, reverse engineer or disassemble the ambe ? voice compression software contained in the ambe - 2000? vocoder chip. 3.0 transf er of license 3.1 the end user shall have the right to transfer the ambe - 2000? vocoder chip and all rights under this agreement to a third party by either (i) providing the third party with a copy of this agreement or (ii) providing the third party with a n agreement written by the end user ( hereinafter ?end user agreement?) so long as the end user agreement is approved in writing by dvsi prior to transfer of the ambe - 2000? vocoder chip. the end user agreement shall contain comparable provisions to those contained herein for protecting the proprietary information from disclosure by such third party. third parties shall agree to accept all the terms and conditions under either agreement or the end user agreement. 4.0 term and termination 4.1 this agreemen t is effective upon initial delivery of the voice codec and shall remain in effect until terminated in accordance with this agreement. 4.2 this agreement shall terminate automatically without notice from dvsi if end user fails to comply with any of the mat erial terms and conditions herein. end user may terminate this agreement at any time upon written notice to dvsi certifying that end user has complied with the provisions of section 3.3. 4.3 upon termination of this agreement for any reason, end user shal l: (i) return all ambe - 2000? vocoder chip purchased or acquired, or in licensee?s possession, to dvsi; (ii) have no further rights to any ambe ? voice compression software or the technology without a separate written license from dvsi; (iii) discontinue al l use of the ambe - 2000? vocoder chip; 5.0 payments 5.1 in consideration of the materials provided as part of the voice codec, and in consideration of the license and rights in the ambe a voice compression software granted by dvsi, and in consideration of d vsi's performance of its obligations hereunder, end user agrees to pay to dvsi the fee specified in dvsi's invoice. 6.0 proprietary notices 6.1 end user shall not remove any copyright or proprietary notice on the ambe - 2000? vocoder chip or on the ambe a v oice compression software. 7.0 proprietary information 7.1 the parties agree that the ambe a voice compression software shall be considered proprietary information. 7.2 except as otherwise provided in this agreement, end user shall not use, disclose, make , or have made any copies of the proprietary information, in whole or in part, without the prior written consent of dvsi. 8.0 limited warranty 8.1 dvsi warrants the voice codec to be free from defects in materials and workmanship under normal use for a p eriod of ninety (90) days from the date of delivery. 8.2 except as stated in section 7.1, the voice codec is provided "as is" without warranty of any kind. dvsi does not warrant, guarantee or make any representations regarding the use, or the results of t he use, of the voice codec with respect to its correctness, accuracy, reliability, correctness or otherwise. the entire risk as to the results and performance of the voice codec is assumed by the end user. after expiration of the warranty period, end use r, and not dvsi or its employees, assumes the entire cost of any servicing, repair, replacement, or correction of the voice codec. 8.3 dvsi represents that, to the best of its knowledge, it has the right to enter into this agreement and to grant a license to use the ambe a voice compression software to end user. 8.4 except as specifically set forth in this section 7.0, dvsi makes no express or implied warranties including, without limitation, the warranties of merchantability or fitness for a particular pur pose or arising from a course of dealing, usage or trade practice, with respect to the voice codec. some states do not allow the exclusion of implied warranties, so the above exclusion may not apply to end user. no oral or written information or advice g iven by dvsi or its employees shall create a warranty or in any way increase the scope of this warranty, and end user may not rely on any such information or advice. the limited warranties under this section 7.0 give end user specific legal rights, and en d user may have other rights which vary from state to state. 9.0 limitation of liability 9.1 in no event shall dvsi be liable for any special, incidental, indirect or consequential damages resulting from the use or performance of the voice codec whether based on an action in contract, tort (including negligence) or otherwise (including, without limitation, damages for loss of business profits, business interruption, and loss of business information), even if dvsi or any dvsi representative has been advise d of the possibility of such damages. 9.2 because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitations may not apply to end user. 9.3 dvsi's maximum liability for damages arising u nder this agreement shall be limited to 20% (twenty percent) of the fees paid by end user for the particular voice codec which caused the damages or that is the subject matter of, or is directly related to, the cause of action. 10.0 taxes 10.1 all paymen ts required under section 4.0 or otherwise under this agreement are exclusive of taxes and end user agrees to bear and be responsible for the payment of all such taxes (except for taxes based upon dvsi's income) including, but not limited to, all sales, us e, rental receipt, personal property or other taxes which may be levied or assessed in connection with this agreement. 11.0 export 11.1 united states export laws and regulations prohibit the exportation of certain products or technical data received from dvsi under this agreement to certain countries except under a special validated license. as of november 30, 1999 the restricted countries are: libya, cuba, north korea, iraq, serbia, taliban in afghanistan, sudan, burma, yugoslavia and iran. the end user hereby gives its assurance to dvsi that it will not knowingly, unless prior authorization is obtained from the appropriate u.s. export authority, export or re - export, directly or indirectly to any of the restricted countries any products or technical data received from dvsi under this agreement in violation of said united states export laws and regulations. dvsi neither represents that a license is not required nor that, if required, it will be issued by the u.s. department of commerce. licensee shall as sume complete and sole responsibility for obtaining any licenses required for export purposes. 12.0 governing law 12.1 this agreement is made under and shall be governed by and construed in accordance with the laws of the commonwealth of massachusetts, e xcept that body of law governing conflicts of law. if any provision of this agreement shall be held unenforceable by a court of competent jurisdiction, that provision shall be enforced to the maximum extent permissible, and the remaining provisions of thi s agreement shall remain in full force and effect.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 4 visit us at www.dvsinc.com confidential proprietary, subject to change 1. product introduction 6 1.1 general information 6 1.2 advantages 6 1.3 typical applications 7 2 ambe? - 2000 application design overview 8 2.1 basic operation 8 2.2 initial design considerations 8 2.2.1 a/d ? d/a overview 8 2.2.2 channel interface overview 9 2.2.3 speech and fec rate selection overview 9 3 hardware information 10 3.1 special handling instruction s 10 3.1.1 storage 10 3.2 pin descriptions 11 3.3 clock and reset timing 13 3.4 crystal / oscillator usage 14 3.4.1 ttl clock source 14 3.4.2 crystal oscillator 15 3.5 package description 16 3.6 normal operating conditions 17 3.7 absolute max imum ratings 17 3.8 electrical characteristics and requirements 17 4 channel interface 19 4.1 overview 19 4.2 serial configuration selec tion 19 4.3 channel serial mode 21 4.3.1 low level timing for passive and active serial mode 22 5 channel data format 24 5.1 formatted f ormat 24 5.2 formatted input format 24 5.2.1 formatted input : word 0 : header 25 5.2.2 formatted input : word 1 : power control 25 5.2. 3 formatted input : word 1 : control word 1 26 5.2.4 formatted input : words 2 - 6 : rate info 0, rate info 1, rate info 2, rate info 3, rate info 4 26 5.2.5 formatted input : word 7 : unused in in put 27 5.2.6 formatted input : word 8 : unused in input 27 5.2.7 formatted input : word 9 : unused in input 27
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 5 visit us at www.dvsinc.com confidential proprietary, subject to change 5.2.8 formatted input : word 10 :dtmf control 27 5.2.9 formatted input : word 11 control word 2 28 5.2.10 formatted input : words 12 - 23 : channel data 29 5.3 formatted output format 29 5.3.1 formatted output : word 0 : header 30 5.3.2 formatted output : word 1 : id (power control) 30 5.3.3 formatted output : word 1 :control word 1 30 this 8 - bit control wo rd indicates the activity of various functions. 30 5.3.4 formatted output : words 2 - 6 : rate info 0, rate info 1, rate info 2, rate info 3, rate info 4. 30 5.3.5 formatted output: word 7 : bit er ror rate 30 5.3.6 formatted output : word 10 : dtmf control 30 5.3.7 formatted output : word 11 :control word 2 32 5.3.8 formatted output : words 12 - 23 :channel data 33 5.4 unformatted serial format 33 5.4.1 unformatted serial output format 33 5.4.2 unformatted serial input format 34 6 a/d - d - a interfa ce 35 6.1 a/d - d/a overview 35 6.2 configuring the a/d - d/a interface using codec_sel[1 - 0] 35 6.3 low level a/d ? d/a timing 36 low level ti ming for a/d - d/a in active and passive modes 36 7 special functions 38 7.1 hardware vs. software selection note 38 7.2 coding rate selection 38 7.3 echo cancellation 39 7.4 voice activation detection (vad), comfort noise insertion (cni) 40 7.5 dual tone multiple frequency, detection and generation 40 7.6 normal power and power saving modes 40 7.6.1 standard sleep mode 40 7.6.2 power down 41 7.7 slip enable 42 8 appendices 45 8.1 example a/d - d/a usage 45 8.1.1 ad73311 45
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 6 visit us at www.dvsinc.com confidential proprietary, subject to change 1. product introduction 1.1 general information digital voice systems inc.?s ambe - 2000? vocoder chip is an extremely flexible, high - performance, single chip, speech compression coder. it provides superior voice quality at low data rates. it provides a real - time, full - duplex implementation of the stand ard - setting ambe voice compression software algorithm. dvsi?s patented ambe voice compression technology has been proven to outperform celp, relp, vselp, melp, ecelp, mp - mlq, lpc - 10, and other competitive technologies. numerous evaluations have shown i ts ability to provide performance equal to today?s digital cellular systems at under half the data rate. the ambe voice compression algorithm is used in applications throughout the world, including the next generation of digital mobile communication syst ems. the ambe - 2000? vocoder chip provides a high degree of flexibility in selecting the speech and fec (forward error correction) data rates. the user can separately select these parameters in 50 bps increments for total rates from 2.4 kbps to 9.6 kbps. typically for higher error rate channels, the user will apportion a greater percentage of the total bit rate to fec coding. the ambe - 2000? voice coder maintains natural voice quality and speech intelligibility at rates as low as 2.4 kbits/sec. the ambe a algorithm?s low complexity allows it to be fully integrated into a low cost, low power integrated circuit, the ambe - 2000? vocoder chip. the ambe - 2000? vocoder chip offers similar features as to dvsi?s ambe - 1000? vocoder chip allowing it to be incorporated into systems already design for the ambe - 1000? and is interoperable with other dvsi products. the ambe - 2000? vocoder chip delivers improved performance and enhanced modes such as 4.0 kbps toll quality speech and convolutional fec coding. along with thes e enhancements the ambe - 2000? vocoder chip employs a control interface along with the variable data rates and fec selection as found in . 1.2 advantages superior voice quality low cost no external memory required robust to bit errors & background noise vari able data rates - 2.0 kbps to 9.6 kbps variable fec rates - 50 bps to 7.2 kbps very low power (65mw @ 3.3v, 0.11mw deep sleep) compact single chip solution: 100 pin tqfp features high quality low data rate speech coding dvsi?s full duplex ambe voice code r supports data rates of 2.0 kbps to 9.6 kbps in 50 bps increments user selectable forward error correction rates viterbi decoder (rate 1/4 or more) 16 level soft decision decoding voice activity detection (vad) / comfort noise insertion 16 ms. echo cancel lation single and dual tone (dtmf) detection and generation
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 7 visit us at www.dvsinc.com confidential proprietary, subject to change power - down mode minimal algorithmic processing delay dtmf detection and regeneration with north american call progress tones 1.3 typical applications satellite communications digital mobile radio sec ure communications cellular telephony and pcs voice multiplexing voice mail multimedia applications
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 8 visit us at www.dvsinc.com confidential proprietary, subject to change 2 ambe? - 2000 application design overview 2.1 basic operation in its simplest model, the ambe - 2000? can be viewed as two separate components, the encoder and the decoder . the encoder receives an 8khz. sampled stream of speech data (16 - bit linear, 8 - bit alaw, or 8 - bit ulaw) and outputs a stream of channel data at the desired rate. conversely the decoder receives a stream of channel data and synthesizes a stream of speech data. the timing for the interfaces for the ambe - 2000? encoder and decoder are fully asy nchronous. figure 2 - a basic operation ambe-2000 encoder 8khz speech data decoder 8khz speech data ambe-2000 decoder 8khz speech data encoder 8khz speech data compressed data @ 2400-9600bps compressed data @ 2400-9600bps typically the speech interface is an external a/d - d/a chip. the format of the incoming and outgoing speech data streams are coupled, th at is to say they must be the same format (16 - bit linear, 8 - bit alaw, or 8 - bit m law). the channel interface is commonly (but not limited to) an 8 or 16 bit microprocessor or other suitable ?glue logic? hardware capable of performing the rudimentary formatt ing functions between the ambe - 2000? channel format and the format of the system channel under design. optional functions of the chip, such as echo cancellation, voice activation/detection, power mode control, data/fec rate selection, etc. are controlled either through hardware control pins (see section 0 ) and/or through the decoder command interface (see section 4) data sent into the decoder for function control purposes is distinguished from the data to be decoded into speec h through a channel format which is described in section 4. 2.2 initial design considerations some of the initial design considerations the application engineer will face are the following: choice of a/d - d/a chip. choice of channel interface. speech and fec ra tes. 2.2.1 a/d ? d/a overview the choice of the a/d - d/a chip is critical to designing a system with superior voice quality. given that alaw and m law companding chips are already incorporating some compression to reduce the number of bits per sample, it is reco mmended that, when possible, a 16 - bit linear device be used for maximum voice quality. when choosing a device, pay particular attention to signal to noise ratios and frequency responses of any filters that may be present on the analog front end of these c hips. the alaw and m law interfaces are also provided for the design engineer who is trying to fit to pre - existing conditions or is under other cost type restraints.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 9 visit us at www.dvsinc.com confidential proprietary, subject to change 2.2.2 channel interface overview the channel interface is meant to be flexible to allow for eas y integration with the system under design. the basic hardware unit of the interface is a serial port. the serial mode can run in passive or active modes. simply stated, the control signal for serial mode can be derived by the ambe - 2 000? chip or they can be derived externally. under normal operation, every 20msec the encoder outputs a frame of coded bits, and the decoder needs to be delivered a frame of coded bits. there is some formatting of the data for both the encoder and the de coder. the primary purpose of the formatting is to provide alignment information for the encoded bit stream. the data has two formats, formatted and unformatted . serial mode can run in either formatted or unformatted mode. the formatted and unformatted modes are explained in full detail in section 4, but essentially the two formats are trying to achieve the same function, to provide positional information regarding the outgoing and incoming coded data streams. in formatted mode each 20msecs of output d ata from the encoder is preceded by a known structure. this structure also embeds some status type flags, meant for local control purposes, within it. the only data from the formatted format that is typically sent across the transmission channel under de sign are the actual encoded bits at the desired rate. in formatted mode, it is the responsibility of the designed system to pass enough information along with the encoded bits such that the formatted format needed by the decoder can be reconstructed on the other side. this extra information, or overhead, is going to be very specific to the system under design, but at a minimum needs to pass enough information to reliably reconstruct the 20msec frame structure at the other end for the decoder. in unform atted mode the data coming out of the encoder can be thought of as a continuous stream of voice data with the framing information embedded within the encoded bits. one advantage of this type of set - up is that the system does not have to add any bandwidth for overhead to the channel. the disadvantage is that the decoder needs 10 - 12 incoming frames in order to gain synchronization with the data stream before it can properly synthesize the speech waveform. also, the unformatted mode only commits a single bi t per frame to maintaining data alignment. in higher error rate channels the performance will be improved by adding more bits per frame to the alignment information (which is more easily performed when using formatted mode) additional flexibility is give n to the channel interface to the encoder and decoder by allowing the ambe - 2000? vocoder chip to run in passive or active modes. in passive mode, data strobes are provided by an external source, while in active mode, data strobes are provided by the ambe - 2000? vocoder chip . the serial interfaces can be run in passive or active modes. see section 4 for full details and timing for both formatted and unformatted data. 2.2.3 speech and fec rate selection overview the total coded bit rate is the sum of two component s, the speech data and the forward error correction (fec) data. the addition of fec data to the speech data allows the decoder to be able to correct a limited amount of errors within each frame should they arrive corrupted. if the channel is expected to have more errors then more bits should be dedicated to fec. at the same time, voice quality will increase if the number of speech bits can be maximized.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 10 visit us at www.dvsinc.com confidential proprietary, subject to change 3 hardware information 3.1 special handling instructions the ambe - 2000 uses the tm320 - lc541 - 66 core. for more details on handeling, electrical characteristics, packaging, or timing constraints please refer to the tms320 - c54x manual found at http://www - s.ti.com/sc/psheets/sprs039c/sprs0 39c.pdf (adobe acrobat). although the ambe - 2000? vocoder chip incorporates input protection circuitry, to avoid damage from the accumulation of a static charge, industry standard electrostatic discharge precautions and procedures must be employed during handling and mounting. the 100 pin tqf p package design of the ambe - 2000? vocoder chip allows it to be mounted by infrared reflow, vapor - phase reflow or equivalent processes. the peak package body temperature must not exceed 220 c. the ambe - 2000? vocoder chip requires baking before mounting, i f any of the following conditions exist: humidity indicator card (included in packaging) shows exposure to > 20 % when read at 23 c + 5 c devices were not shipped in a package designated as ?moisture controlled.? not mounted within 168 hours of receipt, at factory conditions of < 30 c and <60% rh if the device has not been stored at < 20% rh dvsi?s recommended bake out procedures: for low - temperature device containers: 192 hours at 40 c + 5 c / - 0 c and < 5% relative humidity for high - temperature devi ce containers : 24 hours at 125 c + 5 c. 3.1.1 storage to insure maximum shelf life in long term storage, ambe - 2000? vocoder chips should be kept in a moisture controlled package at <40 c and <90% relative humidity
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 11 visit us at www.dvsinc.com confidential proprietary, subject to change 3.2 pin descriptions pin number pin descriptive na me pin direction notes 77 chann_sel1 input channel interface selection pins : use these bits to select the channel interface type (formatted,unformatted active, passive) according to table 4 - a . see full description in section 4.2 . 75 chann_sel0 input used with ch_sel1 to select channel operation mode 85 codec_sel1 input 84 codec_sel0 input a/d - d/a select pins see table 6 - a to select the interface. 74 rate_sel4 input 73 rate_sel3 input 72 rate_sel2 input 71 rate_sel1 input 70 rate_sel0 input coding rate select pins : use these bits to select the voice and fec rates according to section 7.2 . the coding rates are also selectable using the control word interface described in section 5.2.4. 86 vad_en input voice activation detection enable pin. active high. see section 7.4 . vad can also be enabled/d isabled using the control word interface as described in section 5.2.9. 78 echocan_en input echo canceller enable pin. active high. see section 7.3 . the echo canceller can also be enabled/disabled using the control word int erface as described in section 5.2.9. 83 sleep_en input standard sleep enable pin. active high. see section 7.6.1 . 82 slip_en input slip control enable pin. active high. see section 7.7 . 68 x2/clkin input clock input 1. 16.384 mhz input. see section 3.4 67 x1 input output from internal oscillator for the crystal. if the internal oscillator is not used this pin should be unconnected. 69 resetn input ambe - 2000 reset pin. active low. see section 3.3 20 epr output encode packet ready: following a reset, this signal will have a high to low transition to indicate the first packet is ready. the next packet will be ready approximately 20 msec later. see note 1. 79 soft_en input soft decisio n decoding enable. enables 4 bit soft decision error decoder. 80 baud_sel0 input 81 baud_sel1 input baud rate selector for unformatted serial mode see table tbdl 32 chan_rx_data input channel receive data to ambe - 2000 42 chan_tx_data output channel t ransmit data from ambe - 2000 28 chan_rx_clk input channel receive clock 34 chan_tx_clk input channel transmit clock 38 chan_tx_strb i/o channel transmit frame synchronization pulse 30 chan_rx_strb input channel receive frame synchronization pulse 29 c odec_rx_strb input frame synchronization pulse for a/d data. should be connected to codec_tx_strb 37 codec_tx_strb input frame synchronization pulse for d/a data. should be connected to codec_rx_strb 31 codec_rx_data input pcm data from a/d conveter to a mbe - 2000
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 12 visit us at www.dvsinc.com confidential proprietary, subject to change pin number pin descriptive name pin direction notes 41 codec_tx_data output pcm data from ambe - 2000 to d/a conveter 27 codec_rx_clk input a/d serial clock. should be connected to codec_tx_clk 33 codec_tx_clk input d/a serial clock should be co nnected to codec_rx_clk 51 clock_mode input if high enables crystal oscillator option for clock source. if low then external oscillator option is selected. see section 3.4 for details. 8,11,12,23 36,39,44,45 46, 47,48 49,54,57,64 76,87,90 v dd power suppl y voltage 1,9,10,25,26 35,40,50,52 53,56,63,65 88,89 gnd power ground 2,3,4,5,6,7, 13,14,15,16 17,18,19,21 22,24,43,55 58,59,60,61 62,66,91,92 93,94,95,96 97,98,99 100 no connection these pins must remain unconnected note 1: the ambe - 2000 expects an encoder pa cket to be read approximately every 20 msec. following the initial reset, wait for epr to go low and read the initial packet (t0). 20 msec later, the next packet (t1) should be ready. for packet t1 and all following packets use the procedure below: 1) wait for slightly less than 20 msec. 2) assert chan_tx_stb and read word on chan_tx_data. 3) if transmitted word not 0x13ec, discard it and repeat step 2. 4) if transmitted word 0x13ec, read 23 more words (rest of packet). a new packet should be re ady every 20 msec after the initial epr high to low transition. a packet read should take place every 20 msec. if there is a delay in the read (i.e. a packet is missed), it is recommended that the device be reset.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 13 visit us at www.dvsinc.com confidential proprietary, subject to change 3.3 clock and reset timing to reset the ambe - 2000 chip, the reset signal must be held low for a minimum of six clock cycles. the recovery time from reset is approximately 95 msec. in other words, 95 msec after the rising edge of the reset signal the ambe - 2000 starts processing pcm samples. the first packet will be ready after 252 pcm samples are read. figure 3 - a x2/clkin and clkout timing diagram table 3 - a x2/clkin and cl kout timing parameters reference parameter min max units t c (ci) cycle time, x2/clkin integer pll multiplier n (n=4) 20 400 ns t f (cl) fall time, x2/clkin 4 ns t r (cl) rise time, x2/clkin 4 ns t w (cil) pulse duration, x2/clkin low 6 ns t w (cih) pulse du ration, x2/clkin high 6 ns t p transitory phase, pll lock - up time 50 m s t c (co) cycle time, clkout (typical is t c (ci)/4 15 ns t d (cih - co) delay time, x2/clkin high/low to clkout high/low 4 16 ns t f (co)/t r (co) fall/rise time, clkout (typical is 2 ns) t w (col) pulse duration, clkout low h - 4 h ns t w (coh) pulse duration, clkout high h - 4 h ns clkout is shown for reference only. it is not to be connected in the circuit. h = 7.629 ns ~ ~ ~ ~ ~ ~ unstable ~ ~ ~ ~ tp t c (ci) t c (co) t d (cih-co) t w (cih) t w (cil) t w (coh) t w (col) t r (ci) t f (ci) t r (co) t f (co) x2/clkin clkout
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 14 visit us at www.dvsinc.com confidential proprietary, subject to change figure 3 - b hardware reset timing diagram table 3 - b reset timing parameters reference parameter min max units t h (rs) hold time, rs after clkout low 0 ns t w (rsl) pulse duration, rs low 50 m s t su (rs) se tup time, rs before x2/clkin low 5 ns t su (int) setup time, intn, nmi, rs before clkout low 10 ns clkout is shown for reference only. it should not be connected in the circuit. 3.4 crystal / oscillator usage the ambe - 2000? vocoder chip has an input clock frequency of 16.384 mhz. two options are outlined below in providing this signal. the option used is specified by the clock_mode pin 51. the following points should be noted when designing any printed circui t board layout: keep the crystal and external capacitors as close to the clk_i and clk_i2 pins as possible to minimize board stray capacitance. keep x2/clkin and x1 away from high frequency digital traces (example clkout) to avoid coupling. 3.4.1 ttl clock sourc e if clock_mode pin is low then a ttl/cmos source is used as the clock input. connect x2/clkin and x1 as follows: t w (rsl) t su (rs) t h (rs) t su (int) ~ ~ ~ ~ ~ ~ x2/clkin resetn clkout
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 15 visit us at www.dvsinc.com confidential proprietary, subject to change figure 3 - c x2/clkin and x1 with ttl clock source ambe-2000 x2/clkin (pin 68) x1 (pin 67) 16.384 mhz ttl/cmos clock source unconnected 3.4.2 crystal osc illator the crystal oscillator option is selected with clock_mode pin set to a high level. to use the crystal oscillator, connect the crystal across x2/clkin and x1 along with one external capacitor from each of these pins to ground. recommended values fo r c1 and c2 is 10 pf. figure 3 - d x2/clkin and x1 with crystal oscillator ambe-2000 x2/clkin (pin 68) x1 (pin 67) 16.384 mhz c1 = 10 pf c2 = 10 pf
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 16 visit us at www.dvsinc.com confidential proprietary, subject to change 3.5 package description 100 pin tqfp (thin quad flat pack) all dimensions are in millimeters figure 3 - e package dimensions 76 100 75 51 26 50 1 25 14.20 / 13.80 sq 16.20 / 15.80 sq 12.00 typ not drawn to scale 12 o all around 0.5 mm 0.17 / 0.27 1.40/1.60 mm detail 1.35 /1.45 1.60 max 0.25 0.05 0.13nom 0.45 / 0.75 0 - 7 max gage plane
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 17 visit us at www.dvsinc.com confidential proprietary, subject to change 3.6 normal operating conditions table 3 - c normal operating conditions normal operating conditions operating voltage 3.3 v operating case temperature range - 40 c to 100 c storage temperature range - 55 c to 150 c 3.7 absolute maximum ratings stresses in excess of the absolute maximum ratings can cause permanent damage to the device. these are absolute stress ratings only. fu nctional operation of the device is not implied at these or any other conditions in excess of those given in the operational sections of the data sheet. exposure to absolute maximum ratings for extended periods can aversely affect device reliability. tabl e 3 - d absolute maximum ratings absolute maximum ratings voltage range on any pin with respect to ground - 0.3v to 4.6v 3.8 electrical characteristics and requirements table 3 - e recommended operating conditions parameter min nom max unit dv dd device supply voltage 3 3.3 3.6 v v ss supply voltage, gnd - 0 - v v ih high - level input voltage, i/o 2.5 - dv dd + 0.3 v v il lo w - level input voltage - 0.3 - 0.8 v i oh high - level output current - - - 300 m a i ol low - level output current - - 1.5 ma
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 18 visit us at www.dvsinc.com confidential proprietary, subject to change table 3 - f electrical characteristics over recommended operating case temperature range (unless otherwise note d) parameter test conditions min typ ? max unit v oh high - level output voltage ? v dd = 3.3 v, i oh = max 2.4 v v ol low - level output voltage ? i ol = max 0.4 v i i input current in high impedance (v i = v ss to v dd ) v dd = max, v i = v ss to v dd - 10 10 m a c i input capacitance 10 pf c o output capacitance 10 pf ? all values are typical unless otherwise specified.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 19 visit us at www.dvsinc.com confidential proprietary, subject to change 4 channel interface 4.1 overview the channel interface is the general term used for the interface for the compress ed bits coming from the encoder and the compressed bits going to the decoder. this same interface is also used to output status information from the encoder and decoder such as whether a dtmf tone has just been detected in the speech input, or whether the decoder has detected and synthesized a frame of silence. additionally, this interface is used to perform more complex control operations on both the encoder and decoder (usually at start - up). these control functions include speech data and fec rate cont rol as well as enabling features such as echo cancellation. it is important to realize that not all data being output from the ambe - 2000 is intended for transmission over the channel. status type of data is typically only useful at the ?local? end. in most voice transmission systems, the actual encoded bits are extracted from the channel formatting, combined into the systems transmission stream, sent over the transmission path, extracted from the transmission path at the receiving end, and reassembled i nto the ambe - 2000?s channel format for synthesis by the decoder. figure 4 - a channel interface overview overhead data (header, status) voice data (48 to 192 bits) system extracts relevant voice data bits and formats them for transmission over channel system overhead voice data (48 to 192 bits) typical voice frame output from encoder overhead data (header, control) voice data (48 to 192 bits) typical voice frame input to the decoder system extracts relevant voice data bits and formats them for input into the decoder adding header and control information transmission channel 4.2 serial configuration selection the hardware interface to the channel in terface is configured as a serial interface based exclusively on the hardware settings of chann_sel[1 - 0]. see table 4 - a .
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 20 visit us at www.dvsinc.com confidential proprietary, subject to change table 4 - a channel interface selection table in terface select pins port type ch_sel1 (pin 77) ch_sel0 (pin 75) active formatted 0 0 active unformatted 0 1 passive formatted 1 0 passive unformatted 1 1 table 4 - b unformatted bit per word selection table interface select pins number of voice data bits per word baud_sel1 (pin 81) baud_sel0 (pin 80) 1 0 0 2 0 1 3 1 0 4 1 1 all transfers occur through a serial port. the serial port inputs and outputs a 16 bit word for every write and read strobe signal respectively. serial mod e can be formatted or unformatted . within the unformatted mode, the data is input and output in 16 bits words still but with only 1 to 4 voice data bits carried within each word. these four configurations can be seen in table 4 - b. see section 4.3 for all the details on the serial interface.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 21 visit us at www.dvsinc.com confidential proprietary, subject to change 4.3 channel serial mode the signals in table 4 - c make up the serial channel int erface. the serial channel mode transfers data in and out of the ambe - 2000? using 16 bit words on the two data lines chan_rx_data and chan_tx_data . the selection of the formatted or unformatted format of this data is made using information in table 4 - a . table 4 - c channel serial interface pin descriptions pin symbol pin direction pin number description epr out 20 encoder packet ready : following a reset, this output signal will have a high to low transition to indicate that the encoder has a frame of data to output. the next packet will be ready approximately 20 msec later. see note 1. chan_rx_data in 32 serial data input : 16 bits of channel data are input on chan_rx_data , synchronous to chan_rx_clk , with eac h chan_rx_strb pulse. chan_rx_clk in 28 serial input clock : in coordination with chan_rx_strb , chan_rx_data is latched by the ambe - 2000? on the falling edges of chan_rx_clk . chan_rx_strb in 30 input (write) data strobe : this signal indicates to the amb e - 2000? when the data on chan_rx_data will be latched by chan_rx_clk . see figure 4 - b. chan_tx_data out 42 serial data output : 16 bits of channel data are output on chan_tx_data , synchronous to chan_tx_clk , with each chan_tx_strb pulse. chan_tx_clk in 3 4 serial output clock : in coordination with chan_tx_strb , the data on chan_tx_data is output by the ambe - 2000? on the falling edges of chan_tx_clk . chan_tx_strb active output/ passive input 38 output (read) data strobe : this signal indicates to the amb e - 2000? when to bring the data to the chan_tx_data pin. see figure 4 - b. note 1: the ambe - 2000 expects an encoder packet to be read approximately every 20 msec. following the initial reset, wait for epr to go low and read the initial packet (t0). 20 mse c later, the next packet (t1) should be ready. for packet t1 and all following packets use the procedure below: 1) wait for slightly less than 20 msec. 2) assert chan_tx_stb and read word on chan_tx_data. 3) if transmitted word not 0x13ec, discard it and repeat step 2. 4) if transmitted word 0x13ec, read 23 more words (rest of packet). a new packet should be ready every 20 msec after the initial epr high to low transition. a packet read should take place every 20 msec. if there is a delay in t he read (i.e. a packet is missed), it is recommended that the device be reset.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 22 visit us at www.dvsinc.com confidential proprietary, subject to change 4.3.1 low level timing for passive and active serial mode figure 4 - b low level timing for passive and active serial mode 1 2 7/15 8/16 ~ ~ ~ ~ ~ ~ chan_tx_clk chan_tx_strb chan_tx_data ~ ~ t d (fsx) t h (fsx)h t w (sck) t r (sck) t f(sck) t dis(dx) t h(dx) t w (sck) 1 2 7/15 8/16 ~ ~ ~ ~ ~ ~ ~ ~ chan_rx_clk chan_rx_strb chan_rx_data t h(fsr) t su(fsr) t c(sck) t w(sck) t w(sck) t r(sck) t f(sck) t su(dr) t h (dr) t c (sck) t h (fsx) msb lsb msb lsb t d (dx) table 4 - d switching characteristics over recommended operating conditions for serial port receive 3.3 volts reference parameter min max units t h(fsr) hold time, fsr after clkr falling edge 6 ns t h(dr) hold time, dr after clkr falling e dge 6 ns
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 23 visit us at www.dvsinc.com confidential proprietary, subject to change table 4 - e switching characteristics over recommended operating conditions for serial port receive 3.3 volts reference parameter min max units t d(sck) delay time, dx valid after clkx rising (passive mode) 25 ns t c(sck) cycle time, serial port clock 6h ns t f(sck) fall time, serial port clock 6 ns t r(sck) rise time, serial port clock 6 ns t w(sck) pulse duration, serial port clock low/ high 3h ns t su(fsr) setup time, fsr before clkr falling edge 6 ns t su(dr) setu p time, dr before clkr falling edge 6 ns t d(fsx) delay time, clkx rising to fsx 15 ns t d(dx) delay time, clkx rising to dx (active mode) 15 ns t h(fsx) hold time, fsx after clkx falling edge 6 ns t h(fsx)h hold time, fsx after clkx rising edge 2h - 5 ns t dis(dx) disable time, clkx rising to dx 20 ns t h(dx) hold time, dx valid after clkx rising edge - 5 ns note: h = 7.629 ns; however, do not operate serial clocks any faster than 2.048 mhz. thus t c(sck) should be a minimum of 488.3 nsec.
5 cha nnel data format the channel interface is responsible for outputting the compressed data from the encoder and inputting compressed data to the decoder. in addition to these most basic functions the channel interface is also capable of reporting certain e vents, such as the detection of a dtmf tone. the channel interface can also control certain selectable functions of the ambe - 2000 ?, such as the voice coding rate. this chapter will describe how the ambe - 2000? uses the channel interface to multiplex these capabilities. there are two formats to the data, formatted and unformatted , both of which operate in serial mode. generally spe aking the unformatted mode is used only when the connection between the ambe - 2000? and the channel under design is relatively direct, and the designer wants to simplify the extraction of the relevant voice data. in this mode configuration is accomplished u sing hardwired pins. in most cases, when a controller is present between the ambe - 2000? and the channel, the system designer will find that using the formatted format is more flexible. 5.1 formatted format the formatted format is a 24 by sixteen - bit word form at for a total of 48 bytes or 384 bits. every 20 milliseconds the encoder outputs 24 sixteen - bit words, and likewise the decoder expects to receive 24 words. the format of the input and output frames are detailed below. the first 12 sixteen bit words are made up of header, id and status or control information. the remaining 12 sixteen bit words make up the encoded data bit field. these 12 words, or 192 bits, will be fully populated with relevant voice data only when the ambe - 2000 is operating in a 9600b ps mode (9600 bits/sec ? 50 frames/sec = 192 bits/frame). otherwise, when the data rate is less than 9600bps, the coded voice bits are filled starting from the msb of the first word in the field, leaving any unused bits as zeros. it is important to note here that even when the ambe - 2000 is operating at less than 9600bps, all 384 bits of the formatted format (including any unused trailing zeros) must be transferred out of the encoder and into the decoder. 5.2 formatted input format the format of the formatt ed input is shown in figure 5 - a. keep in mind that even though the channel data in this formatted input format is closely associated with the decoder, the control information will apply to both encoder and decoder functions.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 25 visit us at www.dvsinc.com confidential proprietary, subject to change figure 5 - a basic formatted in put format word # description 0 header always set to 0x13ec 1 power control (8bits) control word 1 (8 bits) ? see table 5 - b 2 rate info 0 3 rate info 1 4 rate info 2 5 rate info 3 6 rate info 4 see tabl es 5 - c and 5 - d 7 unused in input 8 unused in input 9 unused in input 10 dtmf control ? see tables 5 - e and 5 - f (12) 16 bit words of overhead (192 bits) 11 control word 2 ? see table 5 - g 12 channel data 13 channel data 14 channel data 15 channel data 16 channel data 17 channel data 18 channel data 19 channel data 20 channel data 21 channel data 22 channel data 20 ms frame 24 sixteen - bit words = 48 bytes = 384 bits (12) 16 bit w ords of data (192 bits) 23 ch annel data 5.2.1 formatted input : word 0 : header the decoder uses the header information to synchronize with the beginning of each 20 millisecond frame. this 16 bit word must be 0x13ec . 5.2.2 formatted input : word 1 : power control set the encoder to 0x00 in th e 8 - bit power control field of an output frame for normal use. for power down mode, set this value to 0x55 . this causes the ambe - 2000 to enter low power mode. to exit low power mode, the device must be reset through the hardware. table 5 - a formatted input : id values summary id type description 0x00 voice data this id value instructs ambe - 2000? to operate in normal fashion 0x55 low power mode when this mode is activated the ambe - 2000? vocoder chip will go into a mode which conserve s power, where no voice packets are being processed.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 26 visit us at www.dvsinc.com confidential proprietary, subject to change 5.2.3 formatted input : word 1 : control word 1 use the 8 - bit control word to set various functions. table 5 - b control word 1 format control word 1 ? 8 - bits (see table 1 - f) 7: msb 6 5 4 3 2 1 0 : lsb lost frame indicator unused unused unused unused unused cni unuse d lost frame indicator : setting the lost frame indicator bit to a 1 will cause the ambe - 2000? decoder to construct the voice frame using the parameters from the previous frame. this is an effective way to mask the effects of short periods of data lo ss. this bit should be set by the user when channel data is lost or corrupted. it works by replacing the frame of corrupted data with the previous, intact, frame. comfort noise insertion (cni) : setting the cni bit will cause the decoder to output a fra me of comfort noise. this bit is used with systems that are capable of discontinuous transmission (dtx). 5.2.4 formatted input : words 2 - 6 : rate info 0, rate info 1, rate info 2, rate info 3, rate info 4 the initial rate of the ambe - 2000 is set through the h ardware pins rate_sel[4 - 0] (see section 7.2 and tables 7 - a and 7 - b) after resetting the device. the coding rate can then be modified for both the encoder and the decoder through the unformatted channel interface. the rate sel ector control field (describe in section) determines where to apply the rate change. the ambe - 2000 used these five words to set the source and fec coding rates. tables 5 - c and 5 - d list predefined value for various source and fec rates. the software co nfigurations in table 4 - c are compatible for use with the ambe - 1000?. if compatibility is not an issue, use the software codes in table 4 - d to select speech and fec rates to optimize use of the ambe - 2000?. table 5 - c rate selection using rate info 0 - 4, compatible w/ ambe - 1000? rate info 0 rate info 1 rate info 2 rate info 3 rate info 4 speech rate (bps) fec rate (bps) total rate (bps) 0x9030 0x0000 0x0000 0x0000 0x4330 2400 0 0x902f 0x0000 0x0000 0x0000 0x6930 2350 5 0 2400 0x9348 0x0000 0x0000 0x0000 0x6f48 3600 0 0x9243 0x0080 0x0000 0x0000 0x5348 3350 250 3600 0xab50 0x0000 0x0000 0x0000 0x3950 4000 0 0x934b 0x0080 0x0000 0x0000 0x3950 3750 250 4000 0xab60 0x0000 0x0000 0x0000 0x7960 4800 0 0xab5b 0x0080 0x 0000 0x0000 0x6860 4550 250 0x9348 0x2030 0x0000 0x0000 0x7060 3600 1200 0x923e 0x2800 0x0000 0x0000 0x7460 3100 1700 4800 0xab53 0x2c00 0x0000 0x0000 0x5680 4150 2250 6400 0xab58 0x3000 0x0000 0x0000 0x4490 4400 2800 7200 0xbf9b 0x0080 0x0000 0x0000 0x 49a0 7750 250 0xab5d 0x3400 0x0000 0x0000 0x31a0 4650 3350 8000 0xbfc0 0x0000 0x0000 0x0000 0x72c0 9600 0 0xab16 0xe400 0x0000 0x0000 0x67c0 4850 4750 9600
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 27 visit us at www.dvsinc.com confidential proprietary, subject to change table 5 - d rate selection using rate info 0 - 4, ambe - 2000? only r ate info 0 rate info 1 rate info 2 rate info 3 rate info 4 speech rate (bps) fec rate (bps) total rate (bps) 0x0028 0x0000 0x0000 0x0000 0x6428 2000 0 2000 0x5048 0x0000 0x0000 0x0000 0x3948 3600 0 3600 0x5250 0x0000 0x0000 0x0000 0x4150 4000 0 0x 1030 0x0001 0x0000 0x341a 0x6750 2400 1600 4000 0x5360 0x0000 0x0000 0x0000 0x6c60 4800 0 0x5250 0x2010 0x0000 0x0000 0x7460 4000 800 0x5048 0x0001 0x0000 0x2412 0x6860 3600 1200 0x1030 0x0005 0x180c 0x3018 0x7360 2400 2400 4800 0x6b80 0x0000 0x0000 0x 0000 0x6c80 6400 0 0x5250 0x0001 0x0000 0x542a 0x5280 4000 2400 6400 0x5258 0x0009 0x1e0c 0x4127 0x7390 4400 2800 7200 0x7fa0 0x0000 0x0000 0x0000 0x52a0 8000 0 0x5250 0x0005 0x2010 0x6834 0x72a0 4000 4000 8000 0x7fc0 0x0000 0x0000 0x0000 0x69c0 960 0 0 0x5048 0x000e 0x4010 0x6a2e 0x65c0 3600 6000 0x1030 0x000e 0x681a 0x511b 0x76c0 2400 7200 9600 5.2.5 formatted input : word 7 : unused in input should be set to 0x0000 5.2.6 formatted input : word 8 : unused in input should be set to 0x0000 5.2.7 formatted inpu t : word 9 : unused in input should be set to 0x0000 5.2.8 formatted input : word 10 :dtmf control use this word to set dtmf tones. see table 5 - f for a list of tones and their corresponding values. table 5 - e dtmf control format dtmf control ? 16 - bits 15: msb 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0: lsb dtmf amplitude dtmf digit detect/ generate
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 28 visit us at www.dvsinc.com confidential proprietary, subject to change table 5 - f dtmf codes for digit detect/ generate dtmf code dtmf digit 0x80 1 0x84 2 0x88 3 0x81 4 0x85 5 0x89 6 0x82 7 0x86 8 0x8a 9 0x87 0 0x83 * 0x8b # 0x8c a 0x8d b 0x8e c 0x8f d 0xff deactivate to deactivate the digit detect/genetrate function, set the dtmf code to 0xff. dial, ring, and busy tones are standard north american call progress tones. dtmf am plitude the dtmf amplitude runs from 3 to ? 60 dbm0. this value is a signed bite (example: 0x03 = 3, 0x00 = 0, 0xc4 = - 60). 5.2.9 formatted input : word 11 control word 2 table 5 - g control word 2 format control_word 2 ? 16 - bits (see tabl e 1 - f) bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 decoder output volume control unused 0 unused 0 vad unused 0 sl ec ris rate information selector (ris) : use these 2 bits to select which part(s) of the vocoder will be affected by the rate selection w ords. table 5 - h rate information selection codes value area controlled 0x0 encoder and decoder 0x1 encoder only 0x2 decoder only 0x3 neither encoder nor decoder
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 29 visit us at www.dvsinc.com confidential proprietary, subject to change echo canceller (ec) : set this bit to 1 to enable the echo cancel functi on on a frame by frame basis. this must be set to 1 in every packet sent to continue use. sleep (sl) : set this bit to 1 to enter sleep mode on a frame by frame basis. sleep is a low power mode, not to be confused with power down mode. the sleep func tion must be enabled in every packet to continue in sleep mode. set this bit to 0 to exit sleep mode. vad : in order to set the voice activity detector on, set the vad bit to 1. to disable voice activity detection, set the vad bit to 0. 5.2.10 formatted inp ut : words 12 - 23 : channel data this is the field that contains the actual coded bits. input of the data begins with the msb of the first word in this field and continues through with the final bit output being the lsb of the final word. if the data rate selected is less than 9600bps then the unused bits in each frame are zero and populate the end of the field. as is noted in the channel interface definitions, these unused bits must still be clocked out of the ambe - 2000?. the packet must always consist of 24 words. 5.3 formatted output format th e format for formatted output data is shown in figure 5 - b. it is only the bits in the voice data bits field, which are transmitted along with framing information (data used to locate the start of each frame for proper reconstruction at the decoder) over t he channel. the first 192 bits provide overhead information, which is sometimes useful to the host but is generally not transmitted over the channel. figure 5 - b basic formatted output format word # description 0 header always set to 0x13ec 1 power control (8bits) control word 1 (8 bits) ? see table 5 - j 2 rate info 0 3 rate info 1 4 rate info 2 5 rate info 3 6 rate info 4 7 bit error rate 8 unused 9 unused 10 dtmf control ? see table 5 - l (12) 16 bit words of overhead (192 bits) 11 control word 2 ? see table 5 - n 12 channel data 13 channel data 14 channel data 15 channel data 16 channel data 17 channel data 18 channel data 19 channel data 20 channel data 21 channel data 22 channel data 20 ms frame 24 sixteen - bit words = 48 bytes = 384 bits (12) 16 bit words of data (192 bits) 23 channel data
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 30 visit us at www.dvsinc.com confidential proprietary, subject to change 5.3.1 formatted output : word 0 : header the header is a 16 bit word that begins each valid frame corresponding to 20 mill iseconds of speech. this field will always be 0x13ec . 5.3.2 formatted output : word 1 : id (power control) the encoder will always use 0x00 in the 8 - bit field of an output frame. 5.3.3 formatted output : word 1 :control word 1 this 8 - bit control word indicates the activity of various functions. table 5 - j control word 1 format control word 1 ? 8 - bits (see table 1 - a) 7: msb 6 5 4 3 2 1 0 : lsb unused unused decoder frame repeat decoder silence detect unused unused encoder silence detect encoder dtm f detect decoder frame repeat : when the decoder frame repeat flag is set to 1, the decoder is reporting that the last frame decoded was a repeat of the previous frame. decoder silence detect : when the decoder silence detect flag is set to 1, the decod er is reporting that the last frame decoded was a comfort noise frame. encoder dtmf detect : the encoder dtmf detected flag will be set to a 1 when the encoder detects a dtmf tone. the dtmf detect option is controlled by the dtmf detect/generate bits in control word 10 described in section 5.2.8 enable the dtmf detect option. silence detect : the encoder silence detected flag will be set to 1 when no voice activity is detected. the silence detect option is controlled by and can be disabled by the vad as described in section 5.2.9. 5.3.4 formatted output : words 2 - 6 : rate info 0, rate info 1, rate info 2, rate info 3, rate info 4. words 2 - 6 in the packet indicate the rate at which the ambe - 2000? encoder is operating . these words are output. see tables 5 - c and 5 - d for corresponding values. 5.3.5 formatted output: word 7 : bit error rate this status field is used for the decoder to report bit error information. the 16 bit number output is used to compute the ber using the following calculation % ber = (word 7) / (32768) 5.3.6 formatted output : word 10 : dtmf control this word corresponds to the dtmf detection capabilities of the vocoder. it uniquely identifies specific tones recognized by the encoder. see table 5 - j for a list of tones and their corresponding values.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 31 visit us at www.dvsinc.com confidential proprietary, subject to change table 5 - k dtmf tone detection parameters dtmf tone detection requirement value description minimum input level - 25 dbm0 an input signal shall not be rejected as a dtmf tone if its amplitude is greater than - 25 dbm0 (maximum sinus oid dbm0 is defined as+3.17 dbm0). minimum signal to noise distortion ratio 15 db in order for an input signal to correspond to a valid dtmf tone, the ratio of inband to out - of - band energy must be greater than 15db. inband energy is defined to be the ene rgy in frequency components within 3.5% of the two frequencies defined by the dtmf frequencies. out - of - band energy is defined to be the total energy minus in the inband energy. minimum frequency tolerance 1.5% an input signal shall not be rejected as a dtmf tone if both of its principal frequency components are within 1.5% of the frequencies needed for the dtmf tone. maximum frequency tolerance 3.5% an input signal shall not be rejected as a dtmf tone if either of its principal frequency components are outside 3.5% of the frequencies needed for the dtmf tone. normal twist range 8 - 10 db an input signal does not correspond to a valid dtmf tone if the energy contained within the low frequency band is more than 10 db greater than the energy contained i n the high frequency band. an input signal shall not be rejected as a dtmf if energy contained within the low frequency band is less than 8 db greater than the energy contained in the high frequency band. each low and high frequency band is limited to 3 .5% of the frequencies needed for the dtmf tone. reverse twist range 4 - 10 db an input signal does not correspond to a valid dtmf tone if the energy contained within the high frequency band is more than 10 db greater than the energy contained in the low fr equency band. an input signal shall not be rejected as a dtmf if energy contained within the high frequency band is less than 4 db greater than the energy contained in the low frequency band. each low and high frequency band is limited to 3.5% of the fr equencies needed for the dtmf tone. minimum tone duration 45 ms an input signal shall not be rejected as a dtmf tone as long as its time duration is greater than 45 ms. in addition a minimum of two frames will be transmitted of the dtmf tone if a valid tone is detected. the duration of a tone is defined by the points at which the envelope is 20 db below its peak value. table 5 - l dtmf control format dtmf control ? 8 - bits (see table 1 - f) 15: msb 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0: l sb dtmf amplitude dtmf digit detect/ generate
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 32 visit us at www.dvsinc.com confidential proprietary, subject to change table 5 - m dtmf codes for digit detect/ generate dtmf code dtmf digit 0x80 1 0x84 2 0x88 3 0x81 4 0x85 5 0x89 6 0x82 7 0x86 8 0x8a 9 0x87 0 0x83 * 0x8b # 0x8c a 0x8d b 0x8e c 0x8f d 0xff deactivate to deactivate the digit detect/genetrate function, set the dtmf code to 0xff. dial, ring and busy tones are standard north american call progress tones. dtmf amplitude the dtmf amplitude runs from 3 to ? 60 dbm0. th is value is a signed bite (example: 0x03 = 3, 0x00 = 0, 0xc4 = - 60). 5.3.7 formatted output : word 11 :control word 2 table 5 - n control word 2 format control_word 2 ? 16 - bits (see table 1 - a) bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 decode r output volume control unused 0 unused 0 unused 0 unused 0 sl ec ris rate information selector (ris) : this field is used to indicate which part of the device is affected by words 2 - 6, the rate control words. table 5 - o rate information sele ction codes value area controlled 0x0 encoder and decoder 0x1 encoder only 0x2 decoder only 0x3 neither encoder nor decoder
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 33 visit us at www.dvsinc.com confidential proprietary, subject to change echo canceller (ec) : a 1 in this output field indicates that the echo canceller has been enabled. sleep (sl) : a 1 in the t his field indicates the device has been put into sleep mode. decoder output volume control : indicates the current decoder volume. 5.3.8 formatted output : words 12 - 23 :channel data this is the field that contains the actual coded bits. output of the da ta begins with the msb of the first word in this field and continues through with the final bit output being the lsb of the final word. if the data rate selected is less than 9600bps then the unused bits in each frame are zero and populate the end of the field. as is noted in the channel interface definitions, these unused bits must still be clocked out of the ambe - 2000?. the packet must always consist of 24 words. 5.4 unformatted serial format the unformatted format for the channel data is useful for applic ations which desire minimal glue logic between the ambe - 2000? and the channel hardware. the use of minimal hardware in place of a microcontroller can be realized using this data format. another distinct difference in this data format is that framing info rmation (data which carries the positional information relating to the coded bits) is embedded into the data stream itself. using this data format, the system designer need only transfer the coded data itself. a single bit each frame is ?borrowed? from t he voice data to embed the framing information. keep in mind that this ?borrowed? bit reduces the effective voice coding rate quality by 50 bits per second. for example, a system with no fec running at 2450 bps in unformatted mode will sound equivalent t o one running at 2400 bps in formatted mode. the designer should also be aware that it takes approximately 15 frames (300 milliseconds) for the decoder to attain synchronization with the incoming stream before it can output synthesized speech. systems wh ich are attempting to save power by shutting down transmission during periods of silence, and then resuming during periods of speech can not handle this 300 millisecond delay for each synchronization, and thus should use formatted mode with a more sophisti cated framing method. the 16 bit per word format, pictured in section 5.2, is maintained in this mode but only a fraction of the full 16 bits is used to transfer the coded data. the user selects whether 1, 2, 3 or 4 bits will be transferred in each word based on pins baud_sel[0:1] and table 4 - a . important : the voice coding data rate selected must be evenly divisible by the number of voice data bits per word selected. 5.4.1 unformatted serial output format the unformatted output form at contains 1 to 4 bits within each 16 bits serial output word. the formats which contain more than one bit each word the msb of the data bits is considered first in the transmission. in unformatted mode, only the coded voice data bits are output. none o f the superfluous information that exists in formatted mode is available in this mode. the number of words that need to be transferred out of the encoder for each 20 millisecond frame will be the number of bits per frame divided by the number of bits per word. so a system coding at 4800 bps with 3 bits per word will need to read 32 ( [4800 ? 50] ? 3 = 32) words each frame. table 5 - p unformatted serial output data format data unused bits per word see table 4 - a 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 bit per word format d msb 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 bits per word format d msb d 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 bits per word format d msb d d 0 0 0 0 0 0 0 0 0 0 0 0 0 4 bits per word format d msb d d d 0 0 0 0 0 0 0 0 0 0 0 0
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 34 visit us at www.dvsinc.com confidential proprietary, subject to change 5.4.2 unformatted serial input format the unformatted input format contains 1 to 4 bits within each 16 bits serial output word. for the formats which contain more than one bit each word the msb of the data bits is considered first in the transmission. in unformatted mode, the header data from formatted mode is dropped and each 16 bit write contains 1 to 4 coded voice data bits. the number of words that need to be transferred into the decoder for each 20 millisecond frame wi ll be the number of bits per frame divided by the number of bits per word. so a system coding at 4800 bps with 3 bits per word will need to write exactly 32 ( [4800 ? 50] ? 3 = 32) words each frame. table 5 - q unformatted serial input da ta format data control offset control data bits per word see table 4 - a 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 bit per word format d msb 0 0 0 0 0 0 x x x x x x x x x 2 bits per word format d msb d 0 0 0 0 0 x x x x x x x x x 3 bits per word format d msb d d 0 0 0 0 x x x x x x x x x 4 bits per word format d msb d d d 0 0 0 x x x x x x x x x
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 35 visit us at www.dvsinc.com confidential proprietary, subject to change 6 a/d - d - a interface 6.1 a/d - d/a overview the interface from the analog world of speech and the ambe - 2000? is typically an a/d - d/a chip. selection of the a/d - d/a chip should be made carefully, with a preference given to 16 bit linear devices. additionally, consideration should be given for signal to noise ratios and filtering characteristics typically built into many suc h devices. generally speaking, the flatter the frequency response over the voice spectrum (20 - 4000hz) the better the overall system will sound. the ambe - 2000? vocoder chip operates with a speech data sample rate of 8khz for both the a/d and d/a interface s. this 8khz data is input and output using a serial port on the ambe - 2000. in order to simplify the process of configuring the interface to the a/d - d/a chip, a number of preset configurations can be chosen through the codec_sel[1 - 0] pins shown in table 6 - a . these preset configurations control signal directions for the interface as well as the sequence of programming words for the programmable devices, specifically the ad7331ar. 6.2 configuring the a/d - d/a interface using codec_sel[ 1 - 0] in order to simplify the process of configuring the a/d - d/a interface certain preset configurations are available to the user. selection of these preset modes is made through the 3 hardware pins codec_sel[1 - 0]. in table 6 - a , the 2 digit binary value for codec_sel[1 - 0] corresponds to the levels present on the hardware pins, with a 0 corresponding to gnd, and a 1 corresponding to v cc . table 6 - a codec_sel[1 - 0] : a/d - d/a hard ware configuration values a/d - d/a type codec_sel[1 - 0] pins 85,84 generic 16 bit linear 8khz 00b analog devices 7331 32khz 01b generic m law 8khz 10b generic alaw 8khz 11b
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 36 visit us at www.dvsinc.com confidential proprietary, subject to change 6.3 low level a/d ? d/a timing low level tim ing for a/d - d/a in active and passive modes figure 6 - a low level timing for a/d - d/a in active and passive modes 1 2 7/15 8/16 ~ ~ ~ ~ ~ ~ codec_tx_clk codec_tx_strb codec_tx_data ~ ~ t d (fsx) t h (fsx)h t w (sck) t r (sck) t f(sck) t dis(dx) t h(dx) t w (sck) 1 2 7/15 8/16 ~ ~ ~ ~ ~ ~ ~ ~ codec_rx_clk codec_rx_strb codec_rx_data t h(fsr) t su(fsr) t c(sck) t w(sck) t w(sck) t r(sck) t f(sck) t su(dr) t h (dr) t c (sck) t h (fsx) msb lsb msb lsb t d (dx) table 6 - b switching characteristics over recommended operating conditions for serial port receive 3.3 volts reference parameter min max units t h(fsr) hold time, fsr after clkr falling edge 6 ns t h(dr) hold time, dr after clkr falling edge 6 ns
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 37 visit us at www.dvsinc.com confidential proprietary, subject to change table 6 - e switching characteristics over recommended operating conditions for serial port receive 3.3 volts reference parameter min max units t d(sck) delay time, dx valid after clkx rising 25 ns t c(sck) cycle time, serial port clock 6h n s t f(sck) fall time, serial port clock 6 ns t r(sck) rise time, serial port clock 6 ns t w(sck) pulse duration, serial port clock low/ high 3h ns t su(fsr) setup time, fsr before clkr falling edge 6 ns t su(dr) setup time, dr before clkr falling edge 6 ns t d(fsx) delay time, clkx rising to fsx 15 ns t h(fsx) hold time, fsx after clkx falling edge 6 ns t h(fsx)h hold time, fsx after clkx rising edge 2h - 5 ns t dis(dx) disable time, clkx rising to dx 20 ns t h(dx) hold time, dx valid after clkx risi ng edge - 5 ns note: h = 7.629 ns; however, do not operate serial clocks any faster than 2.048 mhz. thus t c(sck) should be a minimum of 488.3 nsec.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 38 visit us at www.dvsinc.com confidential proprietary, subject to change 7 special functions 7.1 hardware vs. software selection note many of the functions of the ambe - 2000? can be accessed through both a hardware and software interfaces to the device. the following hardware inputs, chann_sel[1 - 0], rate_sel[4 - 0], codec_sel[1 - 0], vad_en, echocan_en, and sleep_en, are only accessed for input during the first 200 microseconds after a h ardware reset on resetn. for predictable operation these signals must remain stable over this time period. after this initialization period the functions that these pins access can only be reconfigured through the control word interface described in sect ion 5.3.4. changes on these pins after the 200 microseconds initialization period after reset are ignored, unless another reset is performed. 7.2 coding rate selection the voice coding rate as well as the fec coding rate can be selected individually on the am be - 2000?. these rates are selected by using a control word as described in section 5.3.4, or through hardware pins rate_sel[4 - 0] subject to the restrictions in section 7.1 . the five input pins rate_sel[4 - 0] give 16 preconfigu red voice/fec rates. the voice and fec rates are individually configurable in 50 bit per second intervals. if rates other than these are desired then the control word method of configuring the rates must be used. table 7 - a rate select ion using rate info 0 - 4, compatible w/ ambe - 1000? rate_sel4 pin rate_sel3 pin rate_sel2 pin rate_sel1 pin rate_sel0 pin speech rate (bps) fec rate (bps) total rate (bps) 0 0 0 0 0 2400 0 0 0 1 0 1 2350 50 2400 0 0 0 0 1 3600 0 0 1 0 1 1 3350 250 3600 0 1 1 1 1 4000 0 0 1 1 1 0 3750 250 4000 0 0 0 1 1 4800 0 0 0 1 1 1 4550 250 0 0 0 1 0 3600 1200 0 1 0 0 0 3100 1700 4800 0 1 0 1 0 4150 2250 6400 0 1 0 0 1 4400 2800 7200 0 1 1 0 0 7750 250 0 1 1 0 1 4650 3350 8000 0 0 1 0 0 9600 0 0 0 1 1 0 4850 4750 9600
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 39 visit us at www.dvsinc.com confidential proprietary, subject to change table 7 - b rate selection using rate info 0 - 4, ambe - 2000? only rate_sel4 pin rate_sel3 pin rate_sel2 pin rate_sel1 pin rate_sel0 pin speech rate (bps) fec rate (bps) total rate (bps) 1 1 1 1 1 2000 0 2000 1 0 0 0 0 3600 0 3600 1 0 0 0 1 4000 0 1 0 1 1 0 2400 1600 4000 1 0 0 1 0 4800 0 1 1 0 0 0 4000 800 1 0 1 1 1 3600 1200 1 1 0 0 1 2400 2400 4800 1 0 0 1 1 6400 0 1 1 0 1 0 4000 2400 6400 1 1 0 1 1 4400 2800 7200 1 0 1 0 0 8000 0 1 1 1 0 0 4000 4000 8000 1 0 1 0 1 9600 0 1 1 1 0 1 3600 6000 1 1 1 1 0 2400 72 00 9600 7.3 echo cancellation the ambe - 2000? vocoder chip provides a 16 millisecond echo canceller that is suitable for canceling the local echo caused by a 2 - to - 4 wire hybrid and can achieve echo cancellation of approximately 30db or more. only the linear portion of the echo is cance lled, so circuits should be designed to minimize non - linearities. the ambe - 2000? vocoder chip echo canceller operates by sending a 240 millisecond audible training sequence to the a/d - d/a immediately following a reset. best results will be achieved if th e analog circuit causing any echo is stable at this time. if the analog circuit changes substantially following this training , the echo canceller must be re - initialized, by resetting the ambe - 2000? vocoder chip for optimum performance. figure 7 - a typical echo path ambe-2000 decoder 8khz speech data encoder 8khz speech data a/d-d/a 4 to 2 wire converter echo path a echo path b the echo return loss (erl) of the analog circuit must be 6db or more (in diagram erl = echo path a ? echo path b) for proper echo canceller operation. linear a/d - d/a chips will generally provide better echo cancellation performance than m law or alaw chips due to lower quantization noise. the echo canceller can be activated either through the hardware pin 78, echocan_en, or through the control word interface descri bed in section 5.2.9. see section 7.1 for important note about the echocan_en pin.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 40 visit us at www.dvsinc.com confidential proprietary, subject to change 7.4 voice activation detection (vad), comfort noise insertion (cni) the voice activation detection (vad) algorithm along with the comfort noise ins ertion (cni) feature of the ambe - 2 000? chip performs useful functions in systems trying to convert periods of silence, that exist in normal conversation, to savings in system bandwidth or power. with the vad functions enabled, periods of silence will be denoted by the encoder in two way s. first, the encoder will output a silence frame (in - band). this silence frame contains information regarding the level of background noise which allows the corresponding decoder to synthesize a ?comfort noise? signal at the other end. the comfort nois e is intended to give the listener the feeling that the call is still connected, as opposed to producing absolute silence which can give the impression that the call has been ?dropped?. second, the encoder silence detected flag is set in control word 1 of the formatted output format described in section 5.3.3. vad can be enabled in one of two ways. a high signal on the hardware pin vad_en (pin 86), subject to the restrictions of section 7.1 , enables vad. the control frame de scribed in section 5.2.9 describes how to enabl e/disable the vad algorithm once the ambe - 2000? has begun operating. if the vad features are being used to reduce transmit power during times of conversational silence, dvsi recommends that a silence frame be transmitted at the start of the period and app roximately each 500 - 1000 milliseconds thereafter. this is to ensure that the parameters regarding the levels of background noise are transmitted to the decoder for the smoothest audible transitions between synthesized speech and synthesized silence. the re is a silence threshold value is ? 25 db in the vad algorithm. the synthesis of a comfort noise frame by the decoder is not dependant on vad being enabled. the decoder will produce a comfort noise frame if it receives an in - band silence frame (produced only by an encoder with vad enabled). 7.5 dual tone multiple frequency, detection and generation the ambe - 2000? vocoder chip is capable of detecting, transmitting, and synthesizing dtmf tones. dtmf features are always enabled. detection of a dtmf tone by the encoder sets the dtmf digit detect in the dtmf control format found in section 5.4.6. which dtmf tone is detected along with amplitude information is placed in the bits 0 - 7 described in section 5.3.6. additionally, the encoder passes the dtmf data in - ba nd (within the regular voice data bits) so that normal dtmf tones pass seamlessly from the encoder to the decoder for synthesis. the decoder synthesizes a dtmf tone in response to reception of an in - band dtmf tone frame. 7.6 normal power and power saving m odes power savings can be achieved during times of longer inactivity of the ambe - 2000? chip by placing it into one of three available low power modes. the c hip can be placed into low - power and stand - by modes via hardware or software control words. in low power modes the a/d - d/a port will be disabled, concurrently halting any processing of voice frames in either direction. depending on the low power state selected, either a wake up control word or a hardware reset on resetn is necessary to return the ambe - 2000 ? to normal operation. 7.6.1 standard sleep mode the standard sleep is the only low power mode that can be entered into either through hardware or software. the ambe - 2000? chip can be placed into standard sleep mode either by setting sleep_en (pin 83) high, sub ject to the restrictions of section 7.1 , or through software by using control word 2 with bit 3 set to 1 as described in section 5.2.9. sleep_en should be tied high if you plan to configure the a/d - d/a chip from standard sleep mode upon power - up or reset. when using software sleep_en with a - law or m - law codecs, it is important to note that if packets are sent to the decoder while it is in sleep mode, noise will be heard at the output. it is recommended that no packets be sent to the decoder until it is commanded to wake up.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 41 visit us at www.dvsinc.com confidential proprietary, subject to change 7.6.2 power down power down provides the lowest power usage of the sleep modes, the only drawback to this mode is the necessity of a hardware reset on resetn (pin 69) to resume normal operation. table 7 - c summary of power saving modes power consumption 3v sleep mode enter state via return to normal operation via wake up time crystal cmos ttl normal operation n/a n/a n/a approx. 65mw standard sleep sleep_en pin at reset or contr ol word control word n/a 24 mw 36 mw power down control word resetn 200 m secs. 0.11 mw 0.11 mw
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 42 visit us at www.dvsinc.com confidential proprietary, subject to change 7.7 slip enable in any real time communication system, clock skew issues must be anticipated to keep the flow of data smooth from one end of the system to the o ther. the slip_en ( pin 82) signal allows the encoder of the ambe - 2000? to react to small slips in the encoder channel signals. when the ambe - 2000? is in active (parallel or serial) mode, the chip produces the signals internally for the transfer of data. because the transmi ssion channel will then likely be driven by this timing, the necessity of controlling slip becomes a moot point. any time the ambe - 2000? encoder channel is in one of the passive modes and the channel timing is asynchronous to the a/d - d/a clock (very rarel y are these two interfaces coupled) then the slip_en pin should be set active high. the ambe - 2000? vocoder chip processes speech in voice frames that are approximately 20 ms in duration. when configured appropriately the chip provides a slip control feat ure that automatically adjusts the frame size to either 160 or 161 speech samples per frame. this slip control feature allows the vocoder chip to compensate for drift between the frame and sample rate clocks on the order of approximately 0.6% (6,000 ppm.) the vocoder chip also accepts slip control packets that extend the range of allowable frame sizes to be between 159 and 161 samples per voice frame. when properly used these slip control packets provide the designer with additional flexibility in dealin g with clock drift. there are three recommended methods for using slip control on the ambe - 2000? vocoder chips which are described below. the system designer should select the method that best meets the needs of their system configuration. also included is some background information on the operation of the ambe - 2000 in passive mode in order to help understand slip control feature here is a brief description on reading encoder packets from the ambe - 2000 in passive formatted mode. when transmitting a pa cket, the ambe - 2000 writes a header = 0x13ec followed by 23 words of data, followed by 0xfffe into the transmit (i.e. output) buffer. the terminating word 0xfffe is written into the transmit buffer by the ambe - 2000 at the end of each encoder packet. norm ally in passive mode this terminating word is in the transmit buffer at the beginning of each transmission cycle (from the previous frame) and so it is the first word output whenever a packet is transmitted. if the encoder packet is ready, then the second output word will be the packet header=0x13ec followed by 23 words of data. however if the packet is not ready then the ambe - 2000 will continue to output the terminating word (0xfffe) until the packet is ready and placed in the transmit buffer. at this p oint the full 24 word packet beginning with the header will be output on subsequent transmissions. this process continues for each packet transmission which occurs nominally every 20 ms, provided that each 24 word packet (header + 23 data words) is read i n full. if the full 24 words of the packet are not read from the ambe - 2000, then the chip?s transmit buffer will contain some words left over from a previous packet. generally these words would be 0x0000 for lower data rates which don't use the last word s of the packet. this case should be avoided: it is recommended that in passive formatted mode the system always read packets by requesting words from the ambe - 2000 until a packet header is received and then continuing to request 23 additional output w ords from the ambe - 2000 until a total of 24 words beginning with the header word = 0x13ec are received. any words output by the ambe - 2000 prior to the header should be ignored by the system (except for monitoring as discussed in method 3 below).
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 43 visit us at www.dvsinc.com confidential proprietary, subject to change word # value description 0 0x13ec header 1 0x07xx slip control packet id, xx=cwd1 (see table 5 - b) typical value xx=00 2 0x1355 slip control indicator for ambe - 2000 3 0x009f slip control data 4 0x0000 must be 0x0000 5 0x0000 must be 0x0000 6 0x000 0 must be 0x0000 7 0x0000 must be 0x0000 8 0x0000 must be 0x0000 9 0x0000 must be 0x0000 10 0x0000 must be 0x0000 11 0x0000 must be 0x0000 12 - 23 channel data for ambe? voice decoder table 7d: slip control packet method 1 - internal slip control this is the simplest method of slip control and is the default method provided slip control is enabled (slip_en is high) on the chip. in this method the vocoder chip?s internal slip adjustment of 160 to 161 sample per frame is used. in order to work pr operly, the system designer must set - up the sample rate and packet timing so that the following constraint is met: 160 < average - frame - interval * (1 +/ - frame - drift) * sample - rate * (1 +/ - sample - drift) < 161 for example using an average - frame - interval = 20 ms, and assuming 100 parts per million oscillator accuracy (i.e frame - drift = sample - drift = .0001), then the above constraint requires: 8002 hz < sample - rate < 8048 hz. in practice sample - rate=8002 hz would be preferred since it is closer to the nominal value of 8000 hz. in another example the sample - rate = 8000 hz. as provided by a pcm source. again assuming 100 parts per million oscillator accuracy for both clocks (i.e. frame - drift = sample - drift = .0001), then the above constraint requires: 20.0041 ms. < average - frame ? interval < 20.1209 ms. this can be achieved by slightly decreasing the channel bit rate or adding an extra bit into the channel bit stream every several voice frames. method 2 - extended slip control with periodic slip contr ol packets the ambe - 2000 can provide extended slip compensation through the insertion of slip control packets. one method of using this capability is for the system to periodically insert these slip control packets into the data stream sent to the ambe - 2000. note that for this method slip control must be enabled (slip_en is high) on the chip. this approach gives the designer a way to accommodate clock drift while providing very flexible frame - interval and sample - rate timing. furthermore minimal system overhead is required. in this method a slip control packet is generated by the system by setting the control words as shown in table 7d above, where the channel data is the compressed voice data being sent to the ambe decoder. in the periodic slip contr ol method such a slip control packet is input into the vocoder chip every n frames. the value of n must be selected by the design engineer to meet the following constraint:
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 44 visit us at www.dvsinc.com confidential proprietary, subject to change 0.25 > (1/n) > average - frame - interval * sample - rate * (frame - drift + sample - drift ) for example with an average - frame - interval = .02 (i.e. 20 ms) and a sample - rate = 8000, then with 100 parts per million oscillator accuracy (i.e. frame - drift = sample - drift = .0001), then above constraint equates to 4 < n < 31.25, and n=30 would be a re asonable selection. in this case the system would input the specified slip control packet into the ambe - 20x0 vocoder chip every 30?th frame enabling the vocoder chip to adjust for the actual clock drift. ***recommended*** method 3 - extended slip co ntrol with as needed slip control packets the preferred method for using slip control packets is to monitor the availability of data from the ambe - 2000 vocoder chip and to only input slip control packets into the data stream sent to the ambe - 2000 as need ed. note that for this method slip control must be enabled (slip_en is high) on the chip. this method provides compensation for the widest range of clock drift (1.2% or 12000 ppm), with the greatest flexibility in frame - interval and sample - rate timing. i n this method the same slip control packets shown in table 7d are inserted into the data stream going to the ambe - 2000. however, unlike in the periodic method, the packets are not input at regular intervals but are instead only input to the chip when need ed. the recommended procedure for this method of slip control is for the system to read a packet from the ambe - 2000 at regular fixed frame intervals where the fixed interval must be within the range [19.875 ? 20.125] ms for a sample rate = 8000 hz. the s ystem application should check each word output by the ambe - 2000 and should continue requesting words from the chip until the packet header followed by 23 data words are received. if the words received before the header word consist of only a single termi nation word (0xfffe) then no further action is required. however if two or more termination words are received prior to the header then the system should input a slip control packet to the ambe - 2000 on the next available transmission into the chip (i.e. t he next packet going into the ambe - 2000 decoder should be a slip control packet). once this slip control packet is input into the ambe - 2000 it will respond within 1 - 2 frames by advancing the time when packets are ready for transmission by 125 microseconds . note that this procedure also may require a small amount of buffering in the system to account for the fact that the packet my not be ready for some small time (< 125 microseconds) after it is first requested.
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 45 visit us at www.dvsinc.com confidential proprietary, subject to change 8 appendices 8.1 example a/d - d/a usage the f ollowing examples of a/d - d/a chips have been included to show connections necessary for interfacing to a number of popular chips. 8.1.1 ad73311 5 v 3.3 v serial port enable (high) 16.384 mhz u1 ambe-2000 27 33 37 29 31 41 codec_rx_clck codec_tx_clck codec_tx_strb codec_rx_strb codec_rx_data codec_tx_data u2 ad73311ar 14 17 18 16 19 20 15 3 9 12 sclck sdofs sdifs sdo sdi se mclk avdd1 avdd2 dvdd
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 46 visit us at www.dvsinc.com confidential proprietary, subject to change history of revisions revision number date of revision description pages 1.0 november 1999 initial version pin descriptions 11 - 12 serial configuration selection 19 channel serial interface pin descriptions 20 1.1 april 2000 table 6 - a codec_sel[1 - 0]: a/d - d/a hardware configuration values 35 deleted the word parallel 9 1.2 may 2000 table 5 - n contr ol word format: removed vad in bit 5. this is not used as an output. 32 1.3 august 2000 added application note for ad 73311ar 43 clarification on vad 28 expanded description of control word 1 29 table 5 - m added dtmf code 0xff 3 2 1.4 october 2000 channel and codec timing diagrams and tables 21, 22, 36, 37 1.5 november 2000 added note describing h 22, 37 2.0 january 2001 clarified/corrected the following pages. 10, 11, 13, 14, 16,17, 18, 20, 21, 22, 23, 27, 28, 29, 32, 34, 35, 36, 40
ambe - 2000? vocoder chip user?s manual versio n 3.0 page 47 visit us at www.dvsinc.com confidential proprietary, subject to change histor y of revisions revision number date of revision description pages 2.1 february 2001 updated timing diagrams and tables for channel and codec 21, 22, 36, 37 changed pin description clk_i to x2/clkin and clk_i2 to x1 11 updated timin g diagram and table for x2/clkin and resetn 13,14 2.2 february 2001 replaced ?set the dtmf code to 0x00 to ?set the dtmf code to 0xff 27 company address updated 2 removed description of decoder output volume control 28 modified sleep_en section 7.6 .1 40 modified description of epr 11,12,21 added detailed explination of slip enable control 43,44 3.0 august 2001 added description of decoder silence detect, decoder frame repeat and encoder dtmf detect bits 30


▲Up To Search▲   

 
Price & Availability of AMBE2000

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X